<script setup lang="ts">
import variables from '@/styles/var.module.scss'

console.log(variables.bgColor)
</script>

<template>
  test
  <div class="test-color" :style="{ '--bg-color': variables.bgColor }">zs</div>
  <i-ep-Edit />
  <el-button type="info"
    ><svg-icon icon-class="071_编辑-34" size="30" />SVG 本地图标</el-button
  >

  <el-button type="danger">test</el-button>
</template>

<style scoped lang="scss">
.test-color {
  --bg-color: #000; // 默认颜色

  color: var(--bg-color);
}
</style>
